package com.bfl.learning.springboot.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @GetMapping("/hello")
    public String hello() {
        return "你好，世界！";
    }

    @GetMapping("/world")
    public String world() {
        return "hello world!";
    }

}
